home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3sellis.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_SELECTLIST_H = 1;
- include("oops/r3model.js")
-
-
- var R3CLID_SELECTLIST = 66;
-
-
-
-
- // Description: Insert object to the selected objects list.
- // p3: Object, object to be selected
-
- R3SLIM_INSERT = 66000;
-
- function mR3SLIM_INSERT(p3) {
- DoA(this.r3obj, 66000, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Remove object from the selected objects list.
- // p3: Object, object to be deselected
-
- R3SLIM_REMOVE = 66001;
-
- function mR3SLIM_REMOVE(p3) {
- DoA(this.r3obj, 66001, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Remove all selections.
-
- R3SLIM_CLEAR = 66002;
-
- function mR3SLIM_CLEAR() {
- DoA(this.r3obj, 66002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Lock select list for exclusive (write) access.
-
- R3SLIM_LOCKEXCLUSIVE = 66003;
-
- function mR3SLIM_LOCKEXCLUSIVE() {
- DoA(this.r3obj, 66003, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Lock selection list for shared (read) access.
-
- R3SLIM_LOCKSHARED = 66004;
-
- function mR3SLIM_LOCKSHARED() {
- DoA(this.r3obj, 66004, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Release selection list
-
- R3SLIM_RELEASE = 66005;
-
- function mR3SLIM_RELEASE() {
- DoA(this.r3obj, 66005, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3SLIA_List = 66500;
- function GetR3SLIA_List() {
- return R3Get(this.r3obj, R3SLIA_List, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3SLIA_Count = 66501;
- function GetR3SLIA_Count() {
- return R3Get(this.r3obj, R3SLIA_Count, R3TID_INTEGER, 0);
- }
-
- R3SLIA_Array = 66502;
- function GetR3SLIA_Array(index) {
- return R3GetIndexed(this.r3obj, R3SLIA_Array, index, R3TID_OBJECT, 0);
- }
-
-
-
- function r3Selectlist () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_SELECTLIST, arguments);
- }
- // Methods
- this.INSERT=mR3SLIM_INSERT;
- this.REMOVE=mR3SLIM_REMOVE;
- this.CLEAR=mR3SLIM_CLEAR;
- this.LOCKEXCLUSIVE=mR3SLIM_LOCKEXCLUSIVE;
- this.LOCKSHARED=mR3SLIM_LOCKSHARED;
- this.RELEASE=mR3SLIM_RELEASE;
-
- // Attributes
- this.GetList=GetR3SLIA_List;
- this.GetCount=GetR3SLIA_Count;
- this.GetArray=GetR3SLIA_Array;
- }
-
- r3Selectlist.prototype=new r3Model;
- // r3sellis.h_H